package top.dfghhj.anhanx.oauth.service.impl;

import org.springframework.stereotype.Service;
import top.dfghhj.anhanx.oauth.dao.SysUserDao;
import top.dfghhj.anhanx.oauth.entity.DO.SysUser;
import top.dfghhj.anhanx.oauth.service.SysUserService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Resource
    private SysUserDao sysUserDao;

    @Override
    public List<SysUser> findByUsername(String username) {
        return sysUserDao.findByUsername(username);
    }
}
